POV-Ray : Newsgroups : povray.beta-test : Compilation problem. : Compilation problem. Server Time
4 Jul 2024 12:44:14 EDT (-0400)
  Compilation problem.  
From: Yansen
Date: 19 Oct 2009 17:10:01
Message: <web.4adcd4ac80bbb61a1d315cac0@news.povray.org>
Hello.

I configure and "install" 3.6.1 on some machine without problems (4x AMD Opteron
64 Shanghai - 16 cores in total, 64GB RAM) running linux:

Linux version 2.6.18-164.el5 (moc### [at] builder10centosorg) (gcc version 4.1.2
20080704 (Red Hat 4.1.2-46))

I got no administrator privileges. After that "success" i try to compile Povray
3.7.0 beta 34 becouse I wish to use more than 1 CPU at a time :-) I use command:

../configure --prefix=/home/yansen/povray34 COMPILED_BY="yansen"

So here is what I got:

===============================================================================
Configure POV-Ray version 3.7.0.beta.34
===============================================================================

This is an unofficial version compiled by:
 yansen
The POV-Ray Team(tm) is not responsible for supporting this version.

Environment
-----------
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether $C_INCLUDE_PATH contains the "." path... no
checking whether $CPLUS_INCLUDE_PATH contains the "." path... no

Programs
--------
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether the g++ compiler works... no
configure: error: in `/home/yansen/povray-3.7.0.beta.34':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

Here is 'config.log" file:

  $ ./configure COMPILED_BY=Yansen

## --------- ##
## Platform. ##
## --------- ##

hostname = [never mind] :-)
uname -m = x86_64
uname -r = 2.6.18-164.el5
uname -s = Linux
uname -v = #1 SMP Thu Sep 3 03:28:30 EDT 2009

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /home/yansen/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2848: result:
===============================================================================
Configure POV-Ray version 3.7.0.beta.34
===============================================================================

This is an unofficial version compiled by:
 JM
The POV-Ray Team(tm) is not responsible for supporting this version.
configure:2869: result:
Environment
-----------
configure:2880: checking build system type
configure:2898: result: x86_64-unknown-linux-gnu
configure:2920: checking host system type
configure:2935: result: x86_64-unknown-linux-gnu
configure:2974: checking for a BSD-compatible install
configure:3042: result: /usr/bin/install -c
configure:3053: checking whether build environment is sane
configure:3113: result: yes
configure:3254: checking for a thread-safe mkdir -p
configure:3293: result: /bin/mkdir -p
configure:3306: checking for gawk
configure:3322: found /bin/gawk
configure:3333: result: gawk
configure:3344: checking whether make sets $(MAKE)
configure:3366: result: yes
configure:3449: checking whether to enable maintainer-specific portions of
Makefiles
configure:3458: result: no
ax_fix_incorrect_path_regexp = [=:]*\.:*
ax_fix_incorrect_path_old =
ax_fix_incorrect_path_new =
configure:3485: checking whether $C_INCLUDE_PATH contains the "." path
configure:3495: result: no
ax_fix_incorrect_path_regexp = [=:]*\.:*
ax_fix_incorrect_path_old =
ax_fix_incorrect_path_new =
configure:3513: checking whether $CPLUS_INCLUDE_PATH contains the "." path
configure:3523: result: no
configure:3534: result:
Programs
--------
configure:3590: checking for gcc
configure:3606: found /usr/bin/gcc
configure:3617: result: gcc
configure:3849: checking for C compiler version
configure:3857: gcc --version >&5
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3861: $? = 0
configure:3868: gcc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
configure:3872: $? = 0
configure:3879: gcc -V >&5
gcc: '-V' option must have argument
configure:3883: $? = 1
configure:3906: checking for C compiler default output file name
configure:3928: gcc    conftest.c  >&5
configure:3932: $? = 0
configure:3970: result: a.out
configure:3989: checking whether the C compiler works
configure:3999: ./a.out
configure:4003: $? = 0
configure:4022: result: yes
configure:4029: checking whether we are cross compiling
configure:4031: result: no
configure:4034: checking for suffix of executables
configure:4041: gcc -o conftest    conftest.c  >&5
configure:4045: $? = 0
configure:4071: result:
configure:4077: checking for suffix of object files
configure:4103: gcc -c   conftest.c >&5
configure:4107: $? = 0
configure:4132: result: o
configure:4136: checking whether we are using the GNU C compiler
configure:4165: gcc -c   conftest.c >&5
configure:4172: $? = 0
configure:4189: result: yes
configure:4198: checking whether gcc accepts -g
configure:4228: gcc -c -g  conftest.c >&5
configure:4235: $? = 0
configure:4336: result: yes
configure:4353: checking for gcc option to accept ISO C89
configure:4427: gcc  -c   conftest.c >&5
configure:4434: $? = 0
configure:4457: result: none needed
configure:4486: checking for style of include used by make
configure:4514: result: GNU
configure:4539: checking dependency style of gcc
configure:4649: result: gcc3
configure:4669: checking how to run the C preprocessor
configure:4709: gcc -E  conftest.c
configure:4716: $? = 0
configure:4747: gcc -E  conftest.c
conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
configure:4754: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "POV-Ray"
| #define PACKAGE_TARNAME "povray"
| #define PACKAGE_VERSION "3.7.0.beta.34"
| #define PACKAGE_STRING "POV-Ray 3.7.0.beta.34"
| #define PACKAGE_BUGREPORT "nic### [at] povrayorg"
| #define VERSION_BASE "3.7"
| #define DISTRIBUTION_MESSAGE_2 " "
| #define PACKAGE "povray"
| #define VERSION "3.7.0.beta.34"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4787: result: gcc -E
configure:4816: gcc -E  conftest.c
configure:4823: $? = 0
configure:4854: gcc -E  conftest.c
conftest.c:12:28: error: ac_nonexistent.h: No such file or directory
configure:4861: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "POV-Ray"
| #define PACKAGE_TARNAME "povray"
| #define PACKAGE_VERSION "3.7.0.beta.34"
| #define PACKAGE_STRING "POV-Ray 3.7.0.beta.34"
| #define PACKAGE_BUGREPORT "nic### [at] povrayorg"
| #define VERSION_BASE "3.7"
| #define DISTRIBUTION_MESSAGE_2 " "
| #define PACKAGE "povray"
| #define VERSION "3.7.0.beta.34"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4904: checking for grep that handles long lines and -e
configure:4964: result: /bin/grep
configure:4969: checking for egrep
configure:5033: result: /bin/grep -E
configure:5038: checking for ANSI C header files
configure:5068: gcc -c   conftest.c >&5
configure:5075: $? = 0
configure:5174: gcc -o conftest    conftest.c  >&5
configure:5178: $? = 0
configure:5184: ./conftest
configure:5188: $? = 0
configure:5206: result: yes
configure:5230: checking for sys/types.h
configure:5251: gcc -c   conftest.c >&5
configure:5258: $? = 0
configure:5275: result: yes
configure:5230: checking for sys/stat.h
configure:5251: gcc -c   conftest.c >&5
configure:5258: $? = 0
configure:5275: result: yes
configure:5230: checking for stdlib.h
configure:5251: gcc -c   conftest.c >&5
configure:5258: $? = 0
configure:5275: result: yes
configure:5230: checking for string.h
configure:5251: gcc -c   conftest.c >&5
configure:5258: $? = 0
configure:5275: result: yes
configure:5230: checking for memory.h
configure:5251: gcc -c   conftest.c >&5
configure:5258: $? = 0
configure:5275: result: yes
configure:5230: checking for strings.h
configure:5251: gcc -c   conftest.c >&5
configure:5258: $? = 0
configure:5275: result: yes
configure:5230: checking for inttypes.h
configure:5251: gcc -c   conftest.c >&5
configure:5258: $? = 0
configure:5275: result: yes
configure:5230: checking for stdint.h
configure:5251: gcc -c   conftest.c >&5
configure:5258: $? = 0
configure:5275: result: yes
configure:5230: checking for unistd.h
configure:5251: gcc -c   conftest.c >&5
configure:5258: $? = 0
configure:5275: result: yes
configure:5294: checking for stdlib.h
configure:5301: result: yes
configure:5509: checking for g++
configure:5525: found /usr/bin/g++
configure:5536: result: g++
configure:5563: checking for C++ compiler version
configure:5571: g++ --version >&5
g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:5575: $? = 0
configure:5582: g++ -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
configure:5586: $? = 0
configure:5593: g++ -V >&5
g++: '-V' option must have argument
configure:5597: $? = 1
configure:5600: checking whether we are using the GNU C++ compiler
configure:5629: g++ -c   conftest.cpp >&5
configure:5636: $? = 0
configure:5653: result: yes
configure:5662: checking whether g++ accepts -g
configure:5692: g++ -c -g  conftest.cpp >&5
configure:5699: $? = 0
configure:5800: result: yes
configure:5825: checking dependency style of g++
configure:5935: result: gcc3
configure:5950: checking whether the g++ compiler works
configure:5974: g++ -o conftest    conftest.cpp  >&5
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
configure:5981: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "POV-Ray"
| #define PACKAGE_TARNAME "povray"
| #define PACKAGE_VERSION "3.7.0.beta.34"
| #define PACKAGE_STRING "POV-Ray 3.7.0.beta.34"
| #define PACKAGE_BUGREPORT "nic### [at] povrayorg"
| #define VERSION_BASE "3.7"
| #define DISTRIBUTION_MESSAGE_2 " JM"
| #define PACKAGE "povray"
| #define VERSION "3.7.0.beta.34"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDLIB_H 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:5996: result: no
configure:5998: error: in `/home/yansen/povray-3.7.0.beta.34':
configure:6001: error: C++ compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_C99_COMPATIBLE_RADIOSITY_set=
ac_cv_env_C99_COMPATIBLE_RADIOSITY_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_COMPILED_BY_set=set
ac_cv_env_COMPILED_BY_value=JM
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_NON_REDISTRIBUTABLE_BUILD_set=
ac_cv_env_NON_REDISTRIBUTABLE_BUILD_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} "/home/yansen/povray-3.7.0.beta.34/unix/config"/missing --run
aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} "/home/yansen/povray-3.7.0.beta.34/unix/config"/missing --run
tar'
AUTOCONF='${SHELL} "/home/yansen/povray-3.7.0.beta.34/unix/config"/missing --run
autoconf'
AUTOHEADER='${SHELL} "/home/yansen/povray-3.7.0.beta.34/unix/config"/missing
--run autoheader'
AUTOMAKE='${SHELL} "/home/yansen/povray-3.7.0.beta.34/unix/config"/missing --run
automake-1.11'
AWK='gawk'
BOOST_CPPFLAGS=''
BOOST_LDFLAGS=''
BOOST_THREAD_LIB=''
C99_COMPATIBLE_RADIOSITY=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS=''
COMPILED_BY='JM'
CPLUS_INCLUDE_PATH=''
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP=''
CXXDEPMODE='depmode=gcc3'
CXXFLAGS=''
CYGPATH_W='echo'
C_INCLUDE_PATH=''
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} "/home/yansen/povray-3.7.0.beta.34/unix/config"/missing --run
makeinfo'
MKDIR_P='/bin/mkdir -p'
NON_REDISTRIBUTABLE_BUILD=''
OBJEXT='o'
PACKAGE='povray'
PACKAGE_BUGREPORT='nic### [at] povrayorg'
PACKAGE_NAME='POV-Ray'
PACKAGE_STRING='POV-Ray 3.7.0.beta.34'
PACKAGE_TARNAME='povray'
PACKAGE_VERSION='3.7.0.beta.34'
PATH_SEPARATOR=':'
PKGCONFIG=''
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
RANLIB=''
SDLCONFIG=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='3.7.0.beta.34'
VERSION_BASE='3.7'
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
acx_pthread_config=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/yansen/povray-3.7.0.beta.34/unix/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "POV-Ray"
#define PACKAGE_TARNAME "povray"
#define PACKAGE_VERSION "3.7.0.beta.34"
#define PACKAGE_STRING "POV-Ray 3.7.0.beta.34"
#define PACKAGE_BUGREPORT "nic### [at] povrayorg"
#define VERSION_BASE "3.7"
#define DISTRIBUTION_MESSAGE_2 " "
#define PACKAGE "povray"
#define VERSION "3.7.0.beta.34"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_STDLIB_H 1

configure: exit 1


If anyone can help me I will be glad. Just to remind: I'm not Linux guru and I
don't have SU privileges.

Best regards
Yansen


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.